import java.io.File;
import java.io.IOException;

public class Demo1 {
    public static void main1(String[] args) throws IOException {
        File file = new File("Hello");
        System.out.println(file.getParent());
        System.out.println(file.getPath());
        System.out.println(file.getName());
        System.out.println(file.getAbsoluteFile());
        System.out.println(file.getCanonicalFile());
        file.mkdir();
        System.out.println(file.isFile());
    }
}
